﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Manicure.Entity
{
    public class EMenu
    {
        #region Campos e Propriedades
        public int IdCliente {get;set;}
        public string Menu { get; set; }
        public string TipoMenu { get; set; }
        #endregion

        #region Contrutores
        public EMenu()
        {
            IdCliente = 0;
            Menu = string.Empty;
            TipoMenu = string.Empty;
        }
        public EMenu(DataRow dtRow)
        {
            if (dtRow["Id_Cliente"] != null) {IdCliente = Convert.ToInt32(dtRow["Id_Cliente"]);}
            if (dtRow["Menu"] != null) { Menu = dtRow["Menu"].ToString(); }
            if (dtRow["Tipo_Menu"] != null) { TipoMenu = dtRow["Tipo_Menu"].ToString(); }
        }
        #endregion
    }
}
